Cortical connectivity and memory performance in cognitive decline: a study via graph theory from EEG data