A Generic Acceleration Framework for Stochastic Composite Optimization