Essays on the Cognitive Foundations of Economics