Structure and identification of transient and equilibrium phases in Mg alloys containing rare earth elements