Protein motifs that recognize structural features of DNA