HGTector: an automated method facilitating genome-wide discovery of putative horizontal gene transfers