Hydrogenation and electrocatalytic reduction of carbon dioxide to formate with a single Co catalyst.