The Moral Foundations of Social Institutions: A Philosophical Study