Associated production of a top-quark pair with vector bosons at NLO in QCD: impact on tt¯H searches at the LHC