Structure and dynamics of an Ag overlayer on Cu(100): a study using the embedded atom method