Crystal structure of a NAD-dependent D-glycerate dehydrogenase at 2.4 A resolution.