Computing high-dimensional optimal transport by flow neural networks