Factors affecting ratings of clinical teachers by medical students and residents.