the difference between how dogs and cats think