Phase diagram and thermodynamics of the n-octyl beta-D-glucoside/water system