The Origin of Values: Sociology and Philosophy of Beliefs