A scaled reduced gradient algorithm for network flow problems with convex separable costs