Secure communications with D2D cooperation