Harvesting rainwater from rooftops could help cities stay cool and cut the number of heatwave days.