On the Relation between Rectified Flows and Optimal Transport