China: Ex-security chief gets life sentence for graft