Evolution of discrimination in populations at equilibrium between selfishness and altruism.