The German pope emeritus, whose birth name was Joseph Ratzinger, had been living a quiet life in a former convent inside the Vatican grounds.