The effect of the geometrical optical phase on the propagation of Hermite-Gaussian beams through transversal and parallel dielectric blocks