Adsorption—Desorption Processes on Mesoscopic Pores Connected to Microscopic Pores of Complex Geometry Using the Ising Model