Theoretical NMR study of the chemical exchange of amide protons of proteins