Ancestral population genomics