Structure and properties of magnesium cast alloys