How doctors are taught to deal with death