Structure and Adsorption of a Hard Sphere Fluid in a Cylindrical and Spherical Pore Filled by a Disordered Matrix: A Monte Carlo Study