Demodulating pulses which have been modulated with a continuously-variable signal of frequency- or rate-modulated pulses