Across the United States, communities are finding ways to help residents cope with the heat