Investigation of heat-driven polygeneration and adsorption cooling systems