Indigenous peoples around the world tell myths which contain warning signs for natural disasters. Scientists are now listening