A Proximal Stochastic Gradient Method with Progressive Variance Reduction