Theoretical aspects and interpretation of thermal measurements concerning the subsurface investigation of a cometary nucleus