Observation of top quark pairs produced in association with a vector boson in pp collisions at sqrt(s)=8 TeV