An examination of nurses’ practical judgments about the cognitive function of hospitalized older people