US, China agree on need to set up military-to-military channels