Exploring Non-Toxic Lower Dimensional Perovskites for Next-Generation X-Ray Detectors.