Altruism and egoism in environmental disputes