A g-C3N4 based photoelectrochemical cell using O2/H2O redox couples