Military technological innovation and stability