All-solution processed CuGaS2-based photoelectrodes for CO2 reduction