Life-cycle production optimization of hydrocarbon fields: thermoeconomics perspective