Alginate-based hydrogels prepared via ionic gelation: an experimental design approach to predict the crosslinking degree