The dynamics of EEG entropy