Double-edged sword of technological progress to climate change depends on positioning in global value chains