Thermal pre-processing before extraction of polyhydroxyalkanoates for molecular weight quality control