A new study examined 38 million American obituaries. Here's what the findings revealed.