Search for new resonances decaying to pairs of jets in proton-proton collisions at $\sqrt{s}$ = 13 TeV