China declares dogs are companions, not livestock for first time