Relativistic theory of magnetoelastic coupling and magnetic surface anisotropy: Co/Cu(0 0 1)