AB initio molecular orbital and density functional theory studies on structure and conformational stability of some polyatomic molecules