Electrophoretic preparation and characterization of porous electrodes from diamond nanoparticles