Gene duplication and biased functional retention of paralogs in bacterial genomes.