Crystal structure of NAD dependent D-3-hydroxybutylate dehydrogenase