Crystal structure of a semialdehyde dehydrogenase from Sinorhizobium meliloti 1021