Formal Modeling and Analysis of Mobile Ad hoc Networks in Real-Time Maude