Thermal degradation of two classes of block copolymers based on poly(lactic-glycolic acid) and poly(-caprolactone) or poly(ethylene glycol)