Search for physics beyond the standard model in events with jets and two same-sign or at least three charged leptons in proton-proton collisions at √s=13TeV