Democrats have won control of the U.S. House and Senate, delivering a decisive rebuke of Republican governance in Washington.