Catalan ex-leader Artur Mas banned from office over illegal referendum