Text this: An analytical model for sparse and dense vehicular ad hoc networks