Thermal properties of carbon inverse opal photonic crystals