Chitosan graft copolymers to control immune response and tissue regeneration