Structural peculiarities of two layered cuprates, NdSrCuO3.5 and Nd1.8Sr1.2Cu2O6−δ