Thalamic regulation of frontal interactions in human cognitive flexibility