Democrats seize Congress, expand state power in US midterm gains