After being hospitalized for life-threatening double pneumonia, the 88-year-old pontiff thanked the faithful in St. Peter's Square.