The formation of hydrogenated yttrium nanoparticles