Molecular simulation of adsorption: Gibbs dividing surface and comparison with experiment