The structure phase transition in atom-wide Co wires on a vicinal Cu{111} surface