Synthesis of CuTi-LDH supported on g-C3N4 for electrochemical and photoelectrochemical oxygen evolution reactions