Molecular orbital study of the NMR and electronic spectra of monocyanopyridines, dicyanopyridines, and 2,4,6-tricyanopyridine