Spectrum Sharing Ad Hoc Networks