Effect of electronic structures on electrochemical behaviors of surface-terminated boron-doped diamond film electrodes