How and Why Chromosome Inversions Evolve