SMS dit: A unified genealogy of modern and ancient genomes