Hugo Barra: leaves Google for Chinese mobile firm Xiaomi