Search for massive resonances in dijet systems containing jets tagged as W or Z boson decays in pp collisions at s $$ \sqrts $$ = 8 TeV