Baidu launches smartwatch OS, buys Web security startup