Comparative computational study of the diffusion of Li, Na, and Mg in silicon including the effect of vibrations