Psychologic characteristics of psychiatric patients having pain as a presenting symptom.