Humans know when they’re dead, scientists discover