Confronting violence: a medieval perspective on the ethics of historiography