a dog can communicate by barking