A substitution matrix for structural alphabet based on structural alignment of homologous proteins and its applications