First-principles calculation of STM images of the Si(111)3 × 3-Ag surface