Evolved gas analysis of inorganic compounds with a quadrupole mass spectrometer coupled to a thermogravimetric analyzer