A multi-site study on medical school selection, performance, motivation and engagement