Search for supersymmetric partners of electrons and muons in proton–proton collisions at s=13TeV