Understanding the divergent evolution and epidemiology of H3N8 influenza viruses in dogs and horses