Dihydrodipicolinate reductase from the industrial and evolutionarily important cyanobacteria Anabaena variabilis.