Exact and approximate resolution of integral multiflow and multicut problems: algorithms and complexity