Characterization of folding intermediates using prolyl isomerase.