Propagation of harmonic waves in an elastic rectangular waveguide