Phase equilibria in the Ln-Mn-O system (Ln = Pr, Nd) and general aspects of the stability of the perovskite phase LnMeO3