Spain warns of 'extraordinary' danger as heatwave continues