Measurement of the cross section for top quark pair production in association with a W or Z boson in proton-proton collisions at root s=13 TeV