Structural and functional similarities between mitochondrial malate dehydrogenase and L-3-hydroxyacyl CoA dehydrogenase.