The consistency principle in protein structure and pathways of folding.