Searching for ancient bears in an Alaskan cave led to an important human discovery