Preparation, physicochemical properties and antimicrobial activity of chitosan from fly pupae