Variance-based Regularization with Convex Objectives