Extreme heatwave 'almost certainly' linked to climate change