Near-optimal Swap Regret Minimization for Convex Losses