Structural rearrangement accompanying NAD+ synthesis within a bacterial DNA ligase crystal