What city was the seat of the papacy for most of the 13th century