A new book of personal writings from the late Pope Francis recounts his spiritual torments, including visions of the devil and the gates of hell, offering a startling look at the inner life of the pontiff.