Thermodynamic Optimization of a Monolithic-Type Solid Oxide Fuel Cell