Investigation of the Pyrolysis and Gasification of a Turkish Coal Using Thermal Analysis Coupled with Mass Spectrometry