Interplay between crosslinking and ice nucleation controls the porous structure of freeze-dried hydrogel scaffolds.