Localized thalamic rhythmicity induced by spinal and cortical lesions