Protests and tight security as Catalan separatists face hefty jail terms in Spain’s ‘trial of the century’