Valorization of waste biomass for chitin and chitosan production