Structure and reaction mechanism of pyrrolysine synthase (PylD).