Multiuser Cognitive Relay Networks: Joint Impact of Direct and Relay Communications