Geologists have found evidence for an ancient megaflood which they say could be the mythical flood at the dawn of the first Chinese dynasty.