Probing the density dependence of the symmetry energy by nucleon flow