Thermoeconomic optimization of a refrigeration plant