Synthesis and characterization of a chitosan based nanocomposite injectable hydrogel.