Predicting Out-of-Distribution Error with Confidence Optimal Transport