TG-FTIR analysis of biomass pyrolysis