China issues code of conduct for firms investing abroad