On the free vibrations of locally-resonant structures