Text this: Spontaneous formation of robust two-dimensional perovskite phases.