Search for top-squark pairs decaying into Higgs or Z bosons in pp collisions at $\sqrts$=8 TeV