Early signs of cognitive decline can be detected in middle-aged and older