Ghosts in popular culture are being replaced. What does this reveal about our changing attitudes to death?