Democrats win congressional elections, Republicans win Senate majority