Estimation of hardwood lignin concentrations by UV spectroscopy and chlorine demethylation