Female doctors have healthier patients, study suggests