Coulomb effects on the gain spectrum of semiconductors