Biomimetically modified chitosan for electrophoretic deposition of composites