EU warns an independent Catalonia would become a 'third country'