Patterns of psychosocial performance in the doctor-patient encounter: a study of family practice residents.