Photoluminescence, recombination rate, and gain spectra in optically excited n-type and tensile strained germanium layers