Gas-phase synthesis of Mg-Ti nanoparticles for solid-state hydrogen storage.