Diffusion of one-dimensional clusters on Au and Pt(110) (1×2)