Identification of ‘replacement’ microstructure for porous medium from thermal conductivity measurements: Problem formulation and numerical solution