Correlation of the role of boron concentration on the microstructure and electrochemical properties of diamond electrodes