The structure of overlayers: I. Se on Ag {001}