Morphology tuning of chitosan films via electrochemical deposition