Thermally-induced and chemically-induced structural changes in layered perovskite-type oxides Nd2 − xSrxNiO4 + δ (x = 0, 0.2, 0.4)