Search for new physics in same-sign dilepton events in proton–proton collisions at √s = 13 TeV