Maintenance and termination of neocortical oscillations by dynamic modulation of intrinsic and synaptic excitability.