UAE jails activist for 10 years over social media posts