Improved method for i.r. determination of the degree of N-acetylation of chitosan