What were some of the factors that contributed to the influence and authority of the Catholic Church in medieval Europe?