Protein folding guides disulfide bond formation