Realized volatility with stochastic sampling