Spectroscopic studies in some polyatomic molecules and calculation of thermodynamic quantities of some substituted pyridines