Optimizing Drone Delivery in Smart Cities