Transformation from temporal to rate coding in a somatosensory thalamocortical pathway