Effect of alkali-metal cations on the electrochemical reduction of carbon dioxide to formic acid using boron-doped diamond electrodes