Search for narrow resonances in dilepton mass spectra in proton-proton collisions at $\sqrts$ = 13 TeV and combination with 8 TeV data