Investigation of the S-Shaped Current–Voltage Curve in High Open-Circuit Voltage Ruddlesden–Popper Perovskite Solar Cells