Improving Stability and Efficiency of Three-Dimensional Perovskite Solar Cells with Organophosphorus Ligands