Generalized van der waals theory of molecular fluids in bulk and at surfaces. (2017)