Instrumental conditioning of thalamogenic movements and its dependence on the cerebral cortex