Liquid–liquid equilibrium for fluids confined within random porous materials