On the forced vibrations of three-layer damped sandwich beams