Physical linkage of metabolic genes in fungi is an adaptation against the accumulation of toxic intermediate compounds