Optimization of carboxymethyl chitosan synthesis using response surface methodology and desirability function.