Effect of thermal-convection-induced defects on the performance of perovskite solar cells