Memory Effects on Nonlinear Temperature and Pressure Wave Propagation in the Boundary between Two Fluid-Saturated Porous Rocks