Duality Theorems in Ergodic Transport