Proximal iterative Gaussian smoothing algorithm for a class of nonsmooth convex minimization problems