A study of ancient DNA reveals how the genetic structure of the Andes evolved over time