Understanding photoelectrochemical kinetics in a model CO2 fixation reaction.