Field-driven diffusion of transition metal and rare-earth ions in silicate glasses