The Al-Er-Mg ternary system. Part I: experimental investigation