The resistive interchange convection in the edge of tokamak plasmas