A scaled particle theory of aqueous and nonaqueous solutions