Text this: Evaluation of the performance of the vehicular ad hoc network protocols in the case of V2I and EV2I communications