Democrats capture U.S. House majority in rebuke to Trump