Synthesis of oxidation-resistant metal nanoparticles via atomic layer deposition