Plans to prevent heat-related deaths in place as temperatures set to top 40C