The writing of history in the early Middle Ages: The Anglo-Saxon Chronicle in context