EEG-based classification of Alzheimer’s disease and frontotemporal dementia: a comprehensive analysis of discriminative features