The politics of educational transitions : evidence from Catalonia