Attempted suicide in older depressed patients: effect of cognitive functioning.