the freezing and thawing action of water affects a rock by