Protests in Barcelona as ex-Catalonia chief stands trial