Structural transformations of the La2-xPrxNiO4+δ system probed by high-resolution synchrotron and neutron powder diffraction.