Performance and stability of perovskite solar cells