From domain specific to generalized intelligence: a cognitive interpretation of the Middle/Upper Palaeolithic transition