Time-resolved investigation of fast pyrolysis using FTIR spectroscopy