Structure of the adenylation domain of an NAD+-dependent DNA ligase