The cloaking method in non-uniform static fields of cylindrical and spherical invisibility cloaks