FTIR quantitative analysis technique for gases. Application in a biomass thermochemical process.