Effect of polymer chain end on sorption isotherm of water by chitosan.