Strain dependence of surface diffusion: Ag on Ag(111) and Pt(111)