Social Diversity and the Development of Political Tolerance