Dynamic vibrations of a damageable viscoelastic beam in contact with two stops