RGO modified Ni doped FeOOH for enhanced electrochemical and photoelectrochemical water oxidation