DFT Study of Gold Surfaces–Ligand Interactions: Alkanethiols versus Halides