Bonding and orientation of 1,4-benzenedimethanethiol on Au(111) prepared from solution and from gas phase