Integral Transforms for Heat and Fluid Flow in Two- and Three-Dimensional Porous Media