Direct atomic imaging of solid surfaces: I. Image simulation and interpretation