Mutant sequences as probes of protein folding mechanisms