Capacity Scaling Laws of Cognitive Networks