Lenovo Q3 profit tops expectations