Conformational Transitions in Polypeptides in the Solid State