Observation of an even-odd oscillation in the conductance of atomic wires