Interplay between hydrophobic cluster and loop propensity in beta-hairpin formation: A mechanistic study