Influence of Moisture Sorption and Other Pretreatments on the Acetylation of Cotton with Acetic Anhydride and Pyridine