The pope has pneumonia in both lungs but remains in good spirits, the Vatican says