Molecular orbital calculations on the conformation of polypeptides and proteins