Optimal Black-Box Reductions Between Optimization Objectives