Biosynthesis of thiocarboxylic acid-containing natural products