Two-dimensional electron gas in uniform magnetic and electric fields