Electrocatalytic carbon dioxide reduction in acid