Connectivity-Aware Routing Algorithms for Cognitive Radio Networks