Days of unseasonably torrential rains have killed at least 24 people in central Vietnam, authorities say, inundating swathes of the region including the tourist draw town of Hoi An.