Democrats flip House, governorships