On the conformation of proteins: an analysis of β-pleated sheets