Chemical modifications of carboxylated chitosan