Stochastic-hydrodynamic model of halo formation in charged particle beams