US and China discuss deal to limit use of cyberweapons