Smart design and control of thermal energy storage in low-temperature heating and high-temperature cooling systems: A comprehensive review