How did the Avignon Papacy affect the papacy?