A record-breaking heatwave in Spain has caused hundreds of deaths since Sunday, with the extreme temperatures now spreading across Western and Central Europe.