Ab initio DFT study of 6-mercapto-hexane SAMs: effect of Au surface defects on the monolayer assembly