Crystal structure of NAD-binding 6-phosphogluconate dehydrogenase from Dyadobacter fermentans