Impact of trade and foreign investments on the industrial change in China