Formal education and intergroup behavior