This California city ranks as the best for travelers with pets. Here’s why