A learning-curve approach to the self-assessment of internal medicine training