More than 10 dead as record heatwave hits Shanghai