MaPBI3 and 2D hybrid organic inorganic perovskite based microcavities employing periodic, aperiodic and disordered photonic structures with light-induced tuning possibility