Fourier transform infrared quantitative analysis of sugars and lignin in pretreated softwood solid residues