Lenovo to buy Google's Motorola in China's largest tech deal