Ecological determinants of rabies virus dynamics in vampire bats and spillover to livestock