The cognitive revolution: a historical perspective