Modeling of twin-screw reactive extrusion: application to alginate extraction