Chemometric investigation on structural changes in pine kraft lignin during pulping