Doctors in the early stages of their career are at an increased risk of depression, according to a comprehensive international review.