As dangerously high temperatures sweep across parts of the United States and southern Europe this week, emergency workers are racing to mitigate the public health risk of heatstroke.