Spectrum sharing in cognitive radio networks