Extreme heat grips Southern Europe as Spain sends toxic alerts and France shuts reactors