Dynamic response of systems equipped with viscous and viscoelastic dampers