Influence of the Brownian movement on the motion of nanoand micro-particles in the inhomogeneous optical field