A new book chronicles the pope’s inner turmoil and his encounters with darkness, including a glimpse of “the entrance to hell.”