Synthesis of Nanoparticles by electric discharges in liquids