Ethnic distribution, effective power and conflict