Thermal effects in rapid directional solidification: linear theory