Structural diversity of chitosan and its complexes