EU has conditions for post-Brexit defense ties with UK