Organic and inorganic perovskite solar cells: Design, fabrication and performance analysis