Parametric characteristics and optimization of a near-field thermophotovoltaic system considering cooling consumption