Statistical approach to the spectroscopic determination of the deacetylation degree of chitins and chitosans