Text this: Vehicular delay tolerant network routing algorithm based on optimized multi-period Bayesian network