Preparation, characterization and application of boron-doped diamond powders : application as an electrocatalyst support and a stationary phase for HPLC