The causes and consequences of joint military exercises