Lipid membranes modulate the structure of islet amyloid polypeptide.