Thermal effects in dry sliding contacts