T-type calcium channels mediate the transition between tonic and phasic firing in thalamic neurons.