Sociological model of ethnic and racial conflict