Structural and Kinetic Properties of a beta-hydroxyacid dehydrogenase involved in nicotinate fermentation