How did the second Great Schism affect the Church authority and power and contribute to the end of medieval Europe?