Modeling of Thermal Gelation and Degelation of MC and HPMC Hydrogels