Characterizing protein folding intermediates