Transient heat conduction in multiphase media