Thermoeconomic analysis and diagnosis of a refrigeration plant