US, Japan agree to continue joint military exercises