Edge shear flows and particle transport near the density limit of the HL-2A tokamak