Vietnam court jails activist for 12 years