Routing and scheduling of electric and alternative-fuel vehicles