The impact of students and curriculum on self-study during clinical training in medical school: a multilevel approach