Former Catalan president stands trial over illegal vote