Differential thermal analysis of polymers undergoing a glass transition