Virial theorem and dynamical evolution of self-gravitating Brownian particles in an unbounded domain. I. Overdamped models.