Synthesis of B4C nanoparticles