On the Dependence of Prion and Amyloid Structure on the Folding Environment