Crystal structure of Bacillus subtilis protein yhfP with NAD bound