Relationship between wetting and capillary pressure in a crude oil/brine/rock system: From nano-scale to core-scale.