Sensitive alignment of genomes with high sequence diversity, extensive structural polymorphism, and whole-genome duplication variation