Civil conflict and three dimensions of ethnic inequality