Endogenous Preferences: The Cultural Consequences of Markets and other Economic Institutions