Neural dynamics in a model of the thalamocortical system. I. Layers, loops and the emergence of fast synchronous rhythms | Synapse