Democrats take control of House, GOP retains Senate