Energy and exergy analysis of refrigeration systems