Method for the synthesis of inert metal nanoparticles