Applications of Game Theory and Microeconomics in Cognitive Radio and Femtocell Networks