Migration, Polarization, and Sorting in the American Electorate