Spain says ‘unordered exit’ would be devastating for UK