First-principles calculations of impurity diffusion coefficients in dilute Mg alloys using the 8-frequency model