The synthesis, characterization and theoretical study on nicotinic acid [1-(2,3-dihydroxyphenyl)methylidene]hydrazide.