A Histogram-Based Segmentation Method for Wideband Spectrum Sensing in Cognitive Radios