Extended exergy accounting applied to the flaring practice in oil fields