An Adaptive Routing Algorithm for Best-effort Traffic in Integrated-Services Networks