Eco-Evolutionary Genomics of Chromosomal Inversions.