Conformational stability of proteins and peptide-peptide interactions in the presence of carbohydrates