Modelling of the hydrolysis and extraction of apple pectin