Pyrolysis of peat studied by thermogravimetry and Fourier transform infrared spectroscopy