Limit theorems for randomly stopped stochastic processes