Effect of freezing and thawing on $$\hbox {K}_{0}$$K0 geostatic stress state for granular materials