On n-equivalence of knots and invariants of finite degree