Effects of Ca substitution on the local structure and oxide–ion behavior of layered perovskite lanthanum nickelate