Structure of dihydrodipicolinate synthase from Methanocaldococcus jannaschii.