Emulating Networks by Bus Networks: Application to Trees and Hypermeshes