Stochastic Particle Creation: From the Dynamical Casimir Effect to Cosmology