Service learning in medical and nursing training: a randomized controlled trial