Thermal management of integrated systems