Photoluminescence of layered perovskite oxides with triple- octahedra slabs containing titanium and niobium