Thermal conductivity by a pulse-heating method: Theory and experimental apparatus