How is the tertiary structure of a polypeptide related to the primary structure?