The Vatican said that the pontiff had pneumonia in both lungs and that he “continued to present a complex picture.”