X-ray fibre diffraction studies of chitosan and chitosan gels