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