Kinetics of hydrolysis and thermal degradation of polyester melts