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