Relative Resources: Inequality in Ethnic Wars, Revolutions, and Genocides