Essays on cognition in development economics