US military must adapt to emerging threats, top generals warn