Thermodynamic limits for simultaneous energy harvesting from the hot sun and cold outer space