Electrochemical reduction of carbon dioxide on transition metal surfaces