A general approach for detecting folding intermediates from steady-state and time-resolved fluorescence of single-tryptophan-containing proteins.