New analysis shows thousands of young children, hospital patients and elderly people at risk as UK hit by fourth heatwave of summer