Spanish court rules Catalonia independence vote illegal