Density functional theory studies on the structure and vibrational spectra of some polyatomic molecules