Gender differences in the clinical competence of residents in internal medicine