Study links heat wave to fossil fuels