Electrochemical synthesis of chitosan/silver nanoparticles multilayer hydrogel coating with pH-dependent controlled release capability and antibacterial property.