Impact of premorbid IQ and cognitive reserve on clinical and functional outcomes in elderly outpatients