Enhancing Photovoltaic Performance of CsPbI2Br-Based Perovskite Solar Cells through Thickness Optimization