Conduction of heat in inhomogeneous solids