Temperature dependence of some thermodynamic functions for amorphous and semi-crystalline polymers