Analysis and model-based optimization of a pectin extraction process