Understanding the effect of partial N3−-to-O2− substitution and H+-to-K+ exchange on photocatalytic water reduction activity of Ruddlesden–Popper layered perovskite KLaTiO4