Fundamental Limits Of Spectrum Sharing In Device-To-Device Communication Systems