Propagation of transients in waveguides