Theoretical studies of environmental effects on protein conformation. 1. Flexibility of the peptide bond.