Crystal structure of threonine 3-dehydrogenase