Randomized Smoothing for Stochastic Optimization