A relation between toughness and the dynamic mechanical properties of polymer films