Improving the efficiency of perovskite cells