Understanding the exergy of cold: theory and practical examples