Mechanism of oxygen transfer in layered lanthanide nickelates Ln2 − xNiO4 + δ (Ln = La, Pr) and their nanocomposites with Ce0.9Gd0.1O2 − δ and Y2(Ti0.8Zr0.2)1.6Mn0.4O7 − δ solid electrolytes