Spanish police said Catalan pro-independence demonstrators threw petrol bombs at officers as protests intensified in Barcelona on Wednesday.