Newly published diary excerpts show Pope Francis wrestling with the moral pressures of papal power, criticism within the Vatican and his own spiritual doubts during his pontificate.