Surface friction and dynamic mechanical properties of polymers