why do cats and dogs chase their tails