Role of antisolvent-based two-step fabrication process in retention of structural stability of organic–inorganic perovskites