Electrochemical characterization of boron-doped polycrystalline diamond thin-film electrodes