Attitudes towards community medicine: a comparison of students from traditional and community-oriented medical schools