Energetics and Energy Loss in 2D Ruddlesden–Popper Perovskite Solar Cells