A new linear potentiometric titration method for the determination of deacetylation degree of chitosan