Cytochrome c folding triggered by electron transfer