Capillary pressure across a pore throat in the presence of surfactants