A new methodology for evaluation of thermal or electrical conductivity of the skeleton of a porous material