Viscoelastic properties of polymers