Exergy analyses of refrigeration and heat pump systems