Thousands of people took to the streets of Barcelona and other Catalan cities to protest against Spanish police violence.