Understanding the physical properties of hybrid perovskites for photovoltaic applications