Theoretical determination of sterically allowed conformations of a polypeptide chain by a computer method