Accelerated Doubly Stochastic Gradient Algorithm for Large-scale Empirical Risk Minimization