Strategy for analysing the co-operativity of intramolecular interactions in peptides and proteins