Electrochemical oxidation of phenol at boron-doped diamond electrode. application to electro-organic synthesis and wastewater treatment