Inferring pore connectivity from sorption hysteresis in multiscale porous media.