Medicine and philosophy in the Middle Ages: sisters, companins, rivals