Impact of Self-Absorption and Cavity Effects on the Electroluminescence Spectra of Thin-Film Solar Cells