Salting-out extraction of carboxylic acids