Characterization of chemical and solid state structures of acylated chitosans