Quasi-resonant circulation regimes and hemispheric synchronization of extreme weather in boreal summer