Structural and viscoelastic properties of chitosan-based hydrogel and its drug delivery application.