Kondo behavior and conductance through 3d impurities in gold chains doped with oxygen