Britain's International Trade Secretary Liam Fox has secured a deal with Switzerland to maintain trade ties with the country post-Brexit.