Mechanism of action and NAD+-binding mode revealed by the crystal structure of l-histidinol dehydrogenase