Measurement of associated production of vector bosons and top quark-antiquark pairs in pp collisions at sqrt(s)=7 TeV