Direct and indirect utilization of thermal energy for cooling generation: A comparative analysis