From active affordance to active inference: vertical integration of cognition in the cerebral cortex through dual subcortical control systems | Synapse