Solubility and activity coefficients of acidic and basic nonelectrolytes in aqueous salt solutions