Discovering Protein Sequence-Structure Motifs and Two Applications to Structural Prediction