Thermal experiments for fractured rock characterization: theoretical analysis and inverse modeling