Diffusion of light hydrocarbons through near-surface rocks