Accelerated Algorithms for Constrained Optimization and Control