Oxidation resistance of B2 rare earth–magnesium intermetallic compounds