Crystal structure of myo-inositol dehydrogenase from Bacillus subtilis with bound cofactor