Amino acid preferences for secondary structure vary with protein class