US confirms on-orbit weapons to deter China and Russia