Electrochemical Studies of Boron-doped Diamond Electrodes