Rheological measurement of κ-carrageenan during gelation