Alcohols are comparatively more soluble in water than hydrocarbons of comparable molecular masses. Explain this fact