The 78-year-old British national has been sentenced to 20 years in prison under a security law imposed by China.