Search for high-mass resonances in dilepton final states in proton-proton collisions at √s = 13 TeV