Analysis of combustion products using time-of-flight mass spectrometry