Three-dimensional propagation of hyperbolic thermal waves in a solid bar with rectangular cross-section