Some problems of heat conduction in composite media and the effects of contract resistance on the temperature distrubutions