Geometry of diffeomorphism groups, complete integrability and optimal transport