Structural heterogeneity in transmembrane amyloid precursor protein homodimer is a consequence of environmental selection.