Bacteriophages benefit from generalized transduction