Essays on Ethnic Segregation and Economic Outcomes