Optical Gain and Recombination in Semiconductors