Seeing a light at the end of a tunnel is synonymous with near-death experiences, but there may be a scientific reason