Optimal international technology cooperation for the low-carbon transformation