Integrality Theorem for Minimum-Cost Flows