Searching for signs of aging and dementia in EEG through network analysis