How algorithms could bring empathy back to medicine