Liquid–liquid equilibrium in a slit pore: Monte Carlo simulation and mean field density functional theory