Thermal stability of water-soluble polymers in solution