EEG alterations during wake and sleep in mild cognitive impairment and Alzheimer's disease