UK will be 'hard-headed' in defending interests, foreign minister says of security deal