Specific heat effects in two-dimensional shock refractions