Cooperation and Competition in Cognitive Radio Networks