Doctor cites the pope’s ‘surprising improvement’ after surviving life-threatening crises