Inversion symmetry breaking by oxygen octahedral rotations in the Ruddlesden-Popper NaRTiO4 family.