Structural properties of an amyloid precursor of β2-microglobulin