What I learned about life after photographing people preparing to die