Constitution of ternary and some more complex alloys of magnesium