The influence of social communication on ethnic opinions