Nanoscale confinement leads to new all-inorganic perovskite with exceptional solar cell properties