Investigation of the Thermal and Hydrolytic Degradation of Polylactide during Autoclave Foaming