Local pH control by electrolysis for ZnO epitaxial deposition on a Pt cathode