A teenage boy has died swimming in a pond - the 10th person to die in open water during the record-breaking UK heatwave.