Oxygen deficiency and atomic displacements in superconducting (Ba1−xNdx)2(Nd1−yCey)2Cu3O8+z