Density Functional Theory with Modified Dispersion Correction for Metals Applied to Self-Assembled Monolayers of Thiols on Au(111)