Band-gap renormalization and photoluminescence from an interacting two-dimensional electron gas in a magnetic field