Why some heatwaves prove deadlier than others