van der Waals equation of state for a fluid in a nanopore.