Cognitive and Perceptual Functions of the Visual Thalamus