Electroencephalographic markers in dementia