Modelling phage-bacteria interactions driving predation and horizontal gene transfer