Pore-Level Modeling of Heat and Mass Transport in Porous Media