Fluids in micropores. I. Structure of a simple classical fluid in a slit-pore