Text this: Theory of Phase Transitions in Polypeptides and Proteins