Tailored dimensionality to regulate the phase stability of inorganic cesium lead iodide perovskites.