Medieval warfare and colonial trade spread the pest far and wide, genomes reveal