Acquisition of prokaryotic genes by fungal genomes