Thermodynamic perspective on the dock-lock growth mechanism of amyloid fibrils.