Researchers cut down on AI’s carbon footprint with new optimization framework