The crystal structure of chitin and chitosan