A genetic legacy from archaic Homo