Protein misfolding: optional barriers, misfolded intermediates, and pathway heterogeneity.