Energy barriers, cooperativity, and hidden intermediates in the folding of small proteins.