Estimation of the content and assessment of structural transformations of residual lignin and resin in deciduous kraft pulp by Fourier IR spectroscopy