How segregation drives voting behavior: New theory and evidence from South Africa∗