Perovskite and Hybrid Materials Based Photovoltaics and Optoelectronics