Methyl-esterification, de-esterification and gelation of pectins in the primary cell wall