Stochastic theory of the nucleation of quantized vortices in superfluid helium