Diffusion and convection in permeable particles: Analogy between slab and sphere geometries