A stable dye-sensitized photoelectrosynthesis cell mediated by a NiO overlayer for water oxidation