Lattice-Directed Formation of Covalent and Organometallic Molecular Wires by Terminal Alkynes on Ag Surfaces.