Gold Nanoparticles Self-Assembled onto Passivated Glass Substrates: Tuning the Transition from 2D to 1D Structures