Thermal effects of collisions: does rain turn into ice when it falls on a frozen ground?