Motivation and academic performance of medical students from ethnic minorities and majority: a comparative study