How El Niño and La Niña cause extreme weather