Protein structural codes and nucleation sites for protein folding