Gravar-mail: Inference of historical migration rates via haplotype sharing