Metal-Insulator Transition in Stable One-Dimensional Arrangements of Single Gold Atoms