Synergistic Improvements in Efficiency and Stability of 2D Perovskite Solar Cells with Metal Ion Doping