Exploring the relationship between secondary structure and native topology in protein domains