A Primal-Dual Algorithmic Framework for Constrained Convex Minimization