Effect of sp2 species in a boron-doped diamond electrode on the electrochemical reduction of CO2