What portion of the diencephalon acts as a relay station for sensory impulses traveling upward to the sensory cortex?