A detailed study of thermal degradation of poly(2-hydroxyethyl methacrylate)