Improved control of atomic layering in perovskite-related homologous series