Cloning and characterization of a galactitol 2-dehydrogenase from Rhizobium legumenosarum and its application in D-tagatose production.