Micromechanical analysis on deterioration due to freezing and thawing in porous brittle materials