Mg-Doped CuFeO2 Photocathodes for Photoelectrochemical Reduction of Carbon Dioxide