Catalonia says it will go ahead with an independence referendum on Sunday, despite Spain declaring it illegal.