Dynamic waveform design for track-before-detect algorithms in radar