The consolations of theology in the Middle Ages