The characterization of closely related polymeric materials by thermogravimetry—mass spectrometry