Numerical investigation of thermodynamic properties in 2D porous silicon photonic crystals integrated in thermophotovoltaic energy conversion system