Brexit deal to be modelled on EU-Canada pact: Spain