Invariant mass of Z->ee (ULS and LS pairs) at midrapidity in pp collisions at 13 TeV