Cognitive radar waveform design for spectral compatibility