Measurement of WZ and ZZ production in pp collisions at $$\sqrts = 8\,\text TeV $$ s = 8 TeV in final states with b-tagged jets