Rayleigh waves and resonance phenomena in elastic bodies