Pyridines and pyridinium salts from cyanoacetamides