What was the most important force in providing unity and stability throughout western Europe during the Middle Ages?