A bioeconomic model for the optimization of local canine rabies control