Autonomous folding of interdomain regions of a modular polyketide synthase