Secure communication in cognitive radio networks