Bottom-Up Coarse-Graining of Peptide Ensembles and Helix-Coil Transitions.