Seismic oscillations of an elastic rectangular structure protected by a viscoelastic stratum: in-plane problem