The optical potential of 6He in the eikonal approximation