Ag/Cu(001): Observation of the development of the electronic structure in metal overlayers from two to three dimensionality