Evaluation of magnesium ion migration in inorganic oxides by the bond valence site energy method