Mechanics of Thermal Contraction Cracks and Ice-Wedge Polygons in Permafrost