AFM study of the structure of underpotentially deposited Ag and Hg on Au(111)