Kinetics and mechanism of imidazole-catalyzed acylation of cellulose in LiCl/N,N-dimethylacetamide.