Optimal and Suboptimal Policies for Opportunistic Spectrum Access: A Resource Allocation Approach.