Monolithic All-Perovskite Tandem Solar Cells with Minimized Optical and Energetic Losses