Thermodynamic Mechanisms Of Helix Stabilization In A Model Peptide And Protein