Thermodynamic analysis of the ternary La–Ni–O system