A global survey of specialized metabolic diversity encoded in bacterial genomes