Stochastic sampling control for a class of nonlinear continuous-time systems