Determination of the degree of esterification and the distribution of methylated and free carboxyl groups in pectins by 1H-n.m.r. spectroscopy