Dynamic headspace gas chromatography/mass spectrometry