Hydrodynamic mobility of a porous spherical particle with variable permeability in a spherical cavity