Variation in the FTIR spectra of a biomass under impregnation, carbonization and oxidation conditions