FPGA Prototyping of Stand-Alone and Cooperative Spectrum Sensors