Mass spectrometry method reveals thermal history of recycled polymers