Modeling amyloid fibril formation: a free-energy approach.