China: ex-security chief sentenced to life