Allocation of Opportunistic Spectrum for Cognitive Radio Ad hoc Networks