The relation between electron concentration and stacking variants in the alloy systems Mg–Cu–Ni, Mg–Cu–Zn and Mg–Ni–Zn