Towards sustainable fuels and chemicals through the electrochemical reduction of CO2: lessons from water electrolysis