Hundreds of people have been reported injured in Catalonia in clashes with Spanish police over independence vote.