Characterization of lignin by 1H and 13C NMR spectroscopy