Kinetic model of pectin extraction