Over decades, before and after he became leader of the Roman Catholic Church, Francis recorded occasional entries about his fears and doubts.