Basal-plane stacking-fault energies of Mg alloys: A first-principles study of metallic alloying effects