Midlatitude extreme weather in an idealized changing climate