Neural dynamics underlying initiation and control of pathological thalamocortical oscillations