The Church and economic activity in the Middle Ages