Performance Optimisation of Soft and Hard Spectrum Sensing Schemes in Cognitive Radio