Anion effect in Co/Au(111) electrodeposition: structure and magnetic behavior